package com.carbonspark.auth.application.convert;

import com.carbonspark.auth.application.dto.AuthRoleDTO;
import com.carbonspark.auth.domain.entity.AuthRoleBO;
import com.carbonspark.auth.domain.entity.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色DTO转换器
 */
@Mapper
public interface AuthRoleDTOConverter {
    AuthRoleDTOConverter INSTANCE =   Mappers.getMapper(AuthRoleDTOConverter.class);
    AuthRoleBO convertDTOToBO(AuthRoleDTO authRoleDTO);

}
